package com.turnengine.client.local.player.command.set;

import com.javabi.codebuilder.generated.IGeneratedCommandSet;
import com.turnengine.client.local.player.bean.IPlayer;

/**
 * The I Local Player Command Set.
 */
public interface ILocalPlayerCommandSet extends IGeneratedCommandSet {

	IPlayer signupPlayer(long loginId, int instanceId, String name, String factionName);

	IPlayer getPlayerById(long loginId, int instanceId, int id);

	IPlayer getPlayerByUserId(long loginId, int instanceId, int id);

	IPlayer getPlayerByName(long loginId, int instanceId, String name);

	Boolean setPlayerSignupsEnabled(long loginId, int instanceId, boolean enabled);

	Boolean getPlayerSignupsEnabled(long loginId, int instanceId);

	int setPlayerLimit(long loginId, int instanceId, int limit);

	int getPlayerLimit(long loginId, int instanceId);

	int setPlayerActionQueueLimit(long loginId, int instanceId, int limit);

	int getPlayerActionQueueLimit(long loginId, int instanceId);

	String renamePlayer(long loginId, int instanceId, String from, String to);

	int getPlayerCount(long loginId, int instanceId);

	int getPlayerCountByFactionId(long loginId, int instanceId, int id);

	Boolean isPlayerSignedUp(long loginId, int instanceId);

	Boolean setPlayerSignupPlugin(long loginId, int instanceId, String plugin);

	IPlayer getPlayer(long loginId, int instanceId);
}
